LICAs
List line items grouped with their LICAs.
GET
/
api
/
manager
/
licas
List line items grouped with their LICAs.
curl --request GET \
--url https://your_a2_service/api/manager/licas \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/licas"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your_a2_service/api/manager/licas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your_a2_service/api/manager/licas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your_a2_service/api/manager/licas"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your_a2_service/api/manager/licas")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/licas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"lica_count": 123,
"licas": [
{
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_date": "2023-11-07T05:31:56Z",
"lid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"no": 123,
"status": "inactive"
}
],
"line_item": {
"budget": 123,
"created_at": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"goal": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"oid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"status": "draft",
"target_cpa": 123,
"updated_at": "2023-11-07T05:31:56Z",
"ad_type": "standard",
"audience_segments": {
"method": "<string>",
"segment_list": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"bid_strategy": "highest_volume",
"creative_rotation": {
"admission_confidence_penalty": 0,
"posterior_temperature": 1,
"prior_weight": 100,
"temperature": 1,
"type": "optimized",
"weights": []
},
"custom_targeting": {
"conditions": [
{
"key": {
"code": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deprecated": false,
"display_name": ""
},
"operator": "in",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>",
"deprecated": false,
"display_name": "",
"match_type": "exact"
}
]
}
]
},
"daily_budget": 123,
"description": "<string>",
"ext": "<unknown>",
"max_bid": 0,
"min_daily_imp": 1000,
"no": 123,
"order_name": "<string>",
"owner_name": "<string>",
"pace_method": "evenly",
"priority": 8,
"schedule": {
"days_of_week": [
1
],
"time_ranges": [
{
"end": "<string>",
"start": "<string>"
}
],
"timezone": "<string>"
},
"sub_goal": "maximize_volume",
"target_cpm": 0,
"target_volume": 0
}
}
],
"pagination": {
"page": 123,
"page_size": 123,
"total": 123,
"total_pages": 123
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication. Pass the access token in the Authorization: Bearer <token> header.
Query Parameters
Available options:
draft, ready, preparing, delivering, archived Available options:
banner, video, native Available options:
inactive, active Available options:
all, expiring_soon, inactive, unlinked Required range:
x >= 1Required range:
1 <= x <= 200Was this page helpful?
⌘I
List line items grouped with their LICAs.
curl --request GET \
--url https://your_a2_service/api/manager/licas \
--header 'Authorization: Bearer <token>'import requests
url = "https://your_a2_service/api/manager/licas"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://your_a2_service/api/manager/licas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://your_a2_service/api/manager/licas",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://your_a2_service/api/manager/licas"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://your_a2_service/api/manager/licas")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://your_a2_service/api/manager/licas")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"lica_count": 123,
"licas": [
{
"created_at": "2023-11-07T05:31:56Z",
"crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"end_date": "2023-11-07T05:31:56Z",
"lid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"no": 123,
"status": "inactive"
}
],
"line_item": {
"budget": 123,
"created_at": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"goal": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"oid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_date": "2023-11-07T05:31:56Z",
"status": "draft",
"target_cpa": 123,
"updated_at": "2023-11-07T05:31:56Z",
"ad_type": "standard",
"audience_segments": {
"method": "<string>",
"segment_list": [
{
"id": "<string>",
"name": "<string>"
}
]
},
"bid_strategy": "highest_volume",
"creative_rotation": {
"admission_confidence_penalty": 0,
"posterior_temperature": 1,
"prior_weight": 100,
"temperature": 1,
"type": "optimized",
"weights": []
},
"custom_targeting": {
"conditions": [
{
"key": {
"code": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deprecated": false,
"display_name": ""
},
"operator": "in",
"values": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>",
"deprecated": false,
"display_name": "",
"match_type": "exact"
}
]
}
]
},
"daily_budget": 123,
"description": "<string>",
"ext": "<unknown>",
"max_bid": 0,
"min_daily_imp": 1000,
"no": 123,
"order_name": "<string>",
"owner_name": "<string>",
"pace_method": "evenly",
"priority": 8,
"schedule": {
"days_of_week": [
1
],
"time_ranges": [
{
"end": "<string>",
"start": "<string>"
}
],
"timezone": "<string>"
},
"sub_goal": "maximize_volume",
"target_cpm": 0,
"target_volume": 0
}
}
],
"pagination": {
"page": 123,
"page_size": 123,
"total": 123,
"total_pages": 123
}
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}